const dt = require('./index');

const dtstr = dt.dateFormat(new Date());
console.log(dtstr);

const str = '<h1 title="abc"><span>123&nbsp;</span></h1>';
const htmlstr = dt.htmlEscape(str);
console.log(htmlstr);